// 登录接口
const loginMapUrl = 'wx/login';

// 测试接口
const testUrl = '/api/system/carousel/list';

const install = (Vue, vm) => {
	// 登录接口
	let loginInfo = (data) => uni.$u.http.post(loginMapUrl, data);
	// 
	let testInfo = (data) => uni.$u.http.get(testUrl, data);

	vm.$u.api = {
		testInfo,
		loginInfo,
	};
}

export default {
	install
}
